package edu.cuit.avatar.dao;

import edu.cuit.avatar.entity.Student;

import java.util.List;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/25 16:13
 */
public interface StudentDao {
    int save(Student student);

    int removeBySsn(String ssn);

    int updateBySsn(Student student);

    Student findBySsn(String ssn);

    List<Student> limit(int offset, int size);

    long count();
}
